//C11:11.22:copy2.c -- demo2 of strcpy().
#include <stdio.h>
#include <string.h>
#define WORDS  "beast"
#define SIZE   40

int main(void)
{
    char *orig = WORDS;
    char copy[SIZE] = "Be the best that you ban be.";
    char *ps;

    puts(orig);
    puts(copy);
    ps = strcpy(copy + 7, orig);
    puts(copy);
    puts(ps);
}
